import grace from "../../utils/grace.js"
grace.page({
      data: {
            web_url: 0
      },
      onLoad: function(options) {
            let param = options[0][0];
            if (!param['url']) {
                  wx.showModal({
                        title: '提示',
                        content: '请求地址不能为空！',
                  })
                  return;
            }

            let url = decodeURIComponent(param['url']);
            this.$data.web_url = url;
            wx.hideNavigationBarLoading();
      }
})